import Qt 4.7

Rectangle {
    id: page

    
    width: 850; height:480
    color: "orange"
 Image {
             id: background
             anchors.fill: parent
             source: "./images/work.svg"
             fillMode: Image.PreserveAspectCrop
	//rotation:-90
         }

    Rectangle {

        id: button
        width: parent.width/2; height: parent.height/2
        color: "darkgray"
        anchors.horizontalCenter: page.horizontalCenter
        anchors.verticalCenter: page.verticalCenter
	//rotation: -90
        MouseArea {
            id: buttonMouseArea
            objectName: "buttonMouseArea"
            anchors.fill: parent
	    onClicked: button.color = "red"}
        Text {
            id: buttonText
            text: "Start GroundWork"
            anchors.horizontalCenter: button.horizontalCenter
            anchors.verticalCenter: button.verticalCenter
            font.pointSize: 16;  }
		 }

 TextInput {
     id: textInput
     text: "Enter IP Address"
     activeFocusOnPress: true
     anchors.horizontalCenter: page.horizontalCenter
 anchors.top: page.top
font.pointSize:20
onAccepted: con.saveip(textInput.text)
 }
}
